package com.lanou.tipsy.entity.recommend.guess.singer;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by penglei on 15/10/21.
 */
public class RightListEntity implements Parcelable {

        /**
         * ting_uid : 9295
         * artist_id : 57520
         * name : 筷子兄弟
         * firstchar : K
         * gender : 2
         * area : 0
         * country : 中国
         * avatar_big : http://musicdata.baidu.com/data2/pic/246668006/246668006.jpg
         * avatar_middle : http://musicdata.baidu.com/data2/pic/246668011/246668011.jpg
         * avatar_smal : http://musicdata.baidu.com/data2/pic/246668019/246668019.jpg
         * avatar_mini : http://musicdata.baidu.com/data2/pic/246668021/246668021.jpg
         * albums_total : 11
         * songs_total : 86
         */

        private String ting_uid;
        private String artist_id;
        private String name;
        private String firstchar;
        private String gender;
        private String area;
        private String country;
        private String avatar_big;
        private String avatar_middle;
        private String avatar_smal;
        private String avatar_mini;
        private String albums_total;
        private String songs_total;

        public void setTing_uid(String ting_uid) {
            this.ting_uid = ting_uid;
        }

        public void setArtist_id(String artist_id) {
            this.artist_id = artist_id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setFirstchar(String firstchar) {
            this.firstchar = firstchar;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public void setCountry(String country) {
            this.country = country;
        }

        public void setAvatar_big(String avatar_big) {
            this.avatar_big = avatar_big;
        }

        public void setAvatar_middle(String avatar_middle) {
            this.avatar_middle = avatar_middle;
        }

        public void setAvatar_smal(String avatar_smal) {
            this.avatar_smal = avatar_smal;
        }

        public void setAvatar_mini(String avatar_mini) {
            this.avatar_mini = avatar_mini;
        }

        public void setAlbums_total(String albums_total) {
            this.albums_total = albums_total;
        }

        public void setSongs_total(String songs_total) {
            this.songs_total = songs_total;
        }

        public String getTing_uid() {
            return ting_uid;
        }

        public String getArtist_id() {
            return artist_id;
        }

        public String getName() {
            return name;
        }

        public String getFirstchar() {
            return firstchar;
        }

        public String getGender() {
            return gender;
        }

        public String getArea() {
            return area;
        }

        public String getCountry() {
            return country;
        }

        public String getAvatar_big() {
            return avatar_big;
        }

        public String getAvatar_middle() {
            return avatar_middle;
        }

        public String getAvatar_smal() {
            return avatar_smal;
        }

        public String getAvatar_mini() {
            return avatar_mini;
        }

        public String getAlbums_total() {
            return albums_total;
        }

        public String getSongs_total() {
            return songs_total;
        }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.ting_uid);
        dest.writeString(this.artist_id);
        dest.writeString(this.name);
        dest.writeString(this.firstchar);
        dest.writeString(this.gender);
        dest.writeString(this.area);
        dest.writeString(this.country);
        dest.writeString(this.avatar_big);
        dest.writeString(this.avatar_middle);
        dest.writeString(this.avatar_smal);
        dest.writeString(this.avatar_mini);
        dest.writeString(this.albums_total);
        dest.writeString(this.songs_total);
    }

    public RightListEntity() {
    }

    protected RightListEntity(Parcel in) {
        this.ting_uid = in.readString();
        this.artist_id = in.readString();
        this.name = in.readString();
        this.firstchar = in.readString();
        this.gender = in.readString();
        this.area = in.readString();
        this.country = in.readString();
        this.avatar_big = in.readString();
        this.avatar_middle = in.readString();
        this.avatar_smal = in.readString();
        this.avatar_mini = in.readString();
        this.albums_total = in.readString();
        this.songs_total = in.readString();
    }

    public static final Parcelable.Creator<RightListEntity> CREATOR = new Parcelable.Creator<RightListEntity>() {
        public RightListEntity createFromParcel(Parcel source) {
            return new RightListEntity(source);
        }

        public RightListEntity[] newArray(int size) {
            return new RightListEntity[size];
        }
    };
}
